#!/usr/bin/env sh

desktop_id=$(bspc query -D --desktop focused)
echo $(realpath "${1:-$HOME}") > \
	"${HOME}/.local/share/deskdirs/${DISPLAY}/${desktop_id}"
